package com.inputabc.ct.v1.ui.inputbox.component;

import javax.swing.*;

public class InputBoxPopupMenu extends JPopupMenu {
    private InputBoxCopyMenuItem inputBoxCopyMenuItem;
    private InputBoxCutMenuItem inputBoxCutMenuItem;
    private InputBoxPasteMenuItem inputBoxPasteMenuItem;

    {
        setName(getClass().getName());
        inputBoxCopyMenuItem = new InputBoxCopyMenuItem();
        inputBoxCutMenuItem = new InputBoxCutMenuItem();
        inputBoxPasteMenuItem = new InputBoxPasteMenuItem();

    }
    public InputBoxPopupMenu(){
        add(inputBoxCopyMenuItem);
        add(inputBoxCutMenuItem);
        add(inputBoxPasteMenuItem);
    }

    public InputBoxCopyMenuItem getInputBoxCopyMenuItem() {
        return inputBoxCopyMenuItem;
    }

    public void setInputBoxCopyMenuItem(InputBoxCopyMenuItem inputBoxCopyMenuItem) {
        this.inputBoxCopyMenuItem = inputBoxCopyMenuItem;
    }

    public InputBoxCutMenuItem getInputBoxCutMenuItem() {
        return inputBoxCutMenuItem;
    }

    public void setInputBoxCutMenuItem(InputBoxCutMenuItem inputBoxCutMenuItem) {
        this.inputBoxCutMenuItem = inputBoxCutMenuItem;
    }

    public InputBoxPasteMenuItem getInputBoxPasteMenuItem() {
        return inputBoxPasteMenuItem;
    }

    public void setInputBoxPasteMenuItem(InputBoxPasteMenuItem inputBoxPasteMenuItem) {
        this.inputBoxPasteMenuItem = inputBoxPasteMenuItem;
    }
}
